OTP\Addons\passwordresetwp\Handler\WpPasswordResetHandler S

Total Complexity 48
Dependencies 9
Dependents 1
Total lines 371
Lines of code 189
Logical lines of code 116
Comment lines 106
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
checkUser()
S
53 6 23
checkIntegrityAndValidateOTP()
S
48 5 31
__construct()
S
54 4 20
miniorange_register_wp_script()
S
56 4 16
getUser()
S
61 4 12
sendAjaxOTPRequest()
S
56 3 18
handleFormOptions()
S
59 3 14
getPhoneNumberSelector()
S
69 3 6
handleForm()
S
61 2 11
checkiferrors()
S
72 2 6
checkIntegrity()
S
68 2 7
getUserId()
S
75 2 4
getUserFromPhoneNumber()
S
70 2 5
startOtpTransaction()
S
68 2 6
unsetOTPSessionVariables()
S
79 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
getIsOnlyPhoneReset()
S
92 1 1